@charset "utf-8";
body{
    margin:0;
    padding: 0px;
}
/* head布局 */
.header{
    padding: 1px 0;
    height: 64px;   
}

.header-wapper{
    margin:12px 30px;
    height:40px;
    font-size:0;
}
/* head布局结束 */

/* logo布局 */
/* 为什么要用position:relative */
.header .logo{
    display:inline-block;
    vertical-align: middle;
    margin-right:30px;
    width:162px;
    height:100%;
    cursor:pointer;
}

.header .logo img{
    height:100%;
    width:100%;
    
}
/* 插入的元素默认是内联 */
/* 伪类元素命名不能带空格 */
.header .logo::after{
    content: "";
    display: block;
    position: relative;
    top:-20px;
    left:192px;
    width:1px;
    height:14px;
    margin-top: -7px;
    background-color: black;
    opacity: 0.1;
}
/* logo布局结束 */

/* 左边leftmenu布局 */
/* 父元素设置，把line-height设置为您需要的box的大小可以实现单行文字的垂直居中 */
.header .leftmenu{
    display:inline-block;
    vertical-align: middle;
    line-height: 40px;
    width: 258px;
    height:100%;
}
.header .leftmenu>li{
    display: inline-block;
    height:40px;
    margin-left:30px;                                               
}

.header .leftmenu>li a{
    font-size:16px;
}
.header .leftmenu>li a:hover{
    color:#2e9fff;
}
/* margin-top会影响其他元素 */
.header .leftmenu>li .icon-sign{
    margin-left: 6px;
    position: relative;
    top:6px;  
}
/* 左边leftmenu结束 */
/* 右边rightmenu */
.header .rightmenu{
    float:right;
    line-height: 40px;
    clear: both;
    width:236px;
    height:40px;
}

.header .rightmenu>li{
    display:inline-block;
    height:40px;
    margin-right: 20px;
  
}

.header .rightmenu>li a{
    font-size:14px;
}

.header .rightmenu>li .btn{
    display:inline-block;
    width:90px;
    height: 40px;
    padding:0 15px;
    background-color: #2e9fff;
    border-radius: 100px;
    font-size: 0px;
}
.header .rightmenu>li .btn .icon-pen{
    margin-right: 4px;
    position: relative;
    top:5px;
 
}
.header .rightmenu>li .btn span{
    color:white;
    font-size:16px;
}
/* 右边rightmenu结束 */


/* content内容 */
.wapper{
    padding:0;
    font-size: 0;
}
/* banner部分 */
.content-wapper{
    margin: 0;
    padding:0;
    height:340px;
	width:100%;
    position: relative;

}
.wapper .banner{
    overflow-x: hidden;
    overflow-y: auto;
    display:inline-block;
	width:100%;
    height: 340px;
    position: relative;
}
.wapper .banner img{
    display: block;
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-170px;
    margin-left:-960px;
}
.wapper .banner-shape{
    width:27px;
    height: 44px;
}

/* position:fixed会相对于视窗 */
.wapper .banner-pre{
    position: absolute;
    top:148px;
    left:30px;
    background-image: url(../img/pre.png)
}
.wapper .banner-next{
    position: absolute;
    top:148px;
    right:30px;
    background-image: url(../img/next.png)
}
.wapper .banner-nav{
    width:100%;
    height:19px;
    position: absolute;
    top:311px;
    text-align: center;
}
.wapper .banner-nav span{
    display: inline-block;
    height: 10px;
    width:10px;
    margin:0 5px;
    background-color: white;
    border-radius: 100px;
}
/* banner部分结束 */
/* 随机阅读部分 */
.wapper .content-random{
    width:100%;
    height:385px;
    padding-top: 38px;
    padding-bottom: 40px;
    background-color: rgb(248, 248, 175);
}
.content-random .random-layout{
    width:1080px;
    height:100%;
    margin:0 auto;
}
.content-random .random-left{
    width: 710px;
    height:100%;
    float: left;
}
.content-random .random-right{
    width:330px;
    height:100%;
    float: right;
}
